.header {
    background-color: #c62f2f;
    height: 100%;
    display: flex;
    align-items: center;

    :global {
        img {
            cursor: default;
        }

        .username {
            color: #fff;
            margin-left: 15px;
        }

        .logout {
            color: #2f4050;
            margin-left: 20px;
            font-size: 12px;
            cursor: pointer;
            &:hover {
                text-decoration: underline;
            }
        }

        .search-container {
            margin-left: 50px;
            position: relative;
        }

        .search-suggest {
            position: absolute;
            top: 38px;
            width: 320px;
            z-index: 1000;
            background-color: #fff;
            border-radius: 4px;
        }

        .search-suggest-title {
            color: #999;
            font-size: 12px;
            padding: 0 16px;
        }

        .search-suggest-item {
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            height: 32px;
            line-height: 32px;
            padding: 0 16px;
            color: #555;

            &:hover {
                color: #555;
                background-color: #eee;
            }
        }

        .search-input {
            border-radius: 16px;
            transition: width 0.3s;
            height: 32px;

            & + svg {
                font-size: 18px;
                pointer-events: none;
            }
        }

        .avatar-wrapper {
            margin-left: 40px;
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            color: #fff;
            text-align: center;
            border-radius: 40px;
            background-color: #ccc;
            cursor: pointer;
        }

        .avatar-image {
            display: block;
            width: 40px;
            height: 40px;
            border-radius: 20px;
        }
    }
}
